package com.itheima.order.mapper;

import com.itheima.order.pojo.Order;
import org.apache.ibatis.annotations.Select;

/**
 * @author 29143
 */

public interface OrderMapper {

    /**
     * 根据id查询订单信息
     * @param id
     * @return
     */
    @Select("select * from tb_order where id=#{id}")
    public Order findbyId(Long id);

}
